package com.way.cloud.common.core.exception;

public class WayException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private String message;
    private Throwable cause;

    public WayException(String message) {
        super(message);
        this.message = message;
    }

    public WayException(String message, Throwable cause) {
        super(message, cause);
        this.message = message;
        this.cause = cause;
    }

}
